package com.yitiao.designmodel.create.builder;

public class VivoPhoneBuilder implements Builder{

    @Override
    public Builder buildCpu(String cpu) {
        phone.cpu=cpu;
        return this;
    }

    @Override
    public Builder buildMem(String mem) {
        phone.mem=mem;
        return this;
    }

    @Override
    public Builder buildDisk(String disk) {
        phone.disk=disk;
        return this;
    }

    @Override
    public Builder buildSize(String size) {
        phone.size=size;
        return this;
    }
}
